<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
session_start();
//ini_set("display_errors", 1);
//error_reporting(E_ALL);
class Logout extends CI_Controller {

	function __construct()
	    {
		parent::__construct();
                $this->load->helper('url');
                $this->load->library('session');
	    }

	function index()
	{	
		session_destroy();
		$this->session->sess_destroy();
                $this->load->view('routeur/logout');
	}
	
}
?>
